<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-button [routerLink]="['/person-info']">
        <ion-icon name="chevron-back-outline" class="global-back"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title mode="ios">我的头像</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content class="content">
  <!-- <ion-button (click)="doClick($event)">调用摄像头并保存头像</ion-button> -->
  <img *ngIf="photoUrl" [src]="photoUrl" class="person-photo" />
  <ion-fab vertical="bottom" horizontal="center" slot="fixed">
    <ion-fab-button color="medium" (click)="chooseOperation()">
      <ion-icon name="add"></ion-icon>
    </ion-fab-button>
  </ion-fab>
</ion-content>